package com.raising.modules.sys.entity;

import com.raising.framework.entity.BaseEntity;

/**
* 操作日志
* @author gaoy
* @createTime 2018-01-17 14:17:29
*/
public class Olog extends BaseEntity<Olog>{

    private static final long serialVersionUID = 1L;

    /** 内容 */
    private String content;
    /** 用户代理 */
    private String userAgent;
    /** 操作IP */
    private String remoteAddr;
    /** 参数 */
    private String param;

    public Olog() {
        super();
    }
    public Olog(String id){
        super(id);
    }

    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String getUserAgent(){
        return userAgent;
    }

    public void setUserAgent(String userAgent){
        this.userAgent = userAgent;
    }

    public String getRemoteAddr(){
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr){
        this.remoteAddr = remoteAddr;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return "Olog{" +
                "content='" + content + '\'' +
                ", userAgent='" + userAgent + '\'' +
                ", remoteAddr='" + remoteAddr + '\'' +
                ", param='" + param + '\'' +
                '}';
    }
}
